package com.yx.shop.dao.admin;

import com.yx.shop.entitly.Product;

import java.util.List;

/**
 * @Classname AdminProductDao
 * @Description TODO:
 * @Date 2021/05/10 19:22
 * @Created by yx
 */
public interface AdminProductDao {
    /**
     * @Author:yx
     * @return java.util.List<com.yx.shop.entitly.Product>
     * @Date 2021/05/10 19:30
     * @param
     * @Description:获取所有商品
     **/
    List<Product> getAllProduct();

    /**
     * @Author:yx
     * @return java.lang.Integer
     * @Date 2021/05/10 21:44
     * @param product
     * @Description:添加商品
     **/
    Integer insertProduct(Product product);
}
